package com.wing.res.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.product.model.response.ProductPlanningTreeVo;
import com.wing.res.model.entity.ResProBom;
import com.wing.res.model.entity.ResProBomRecord;
import com.wing.res.model.response.ResProTaskRecordSearchVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-23 20:57
 **/
@Mapper
public interface ResProBomRecordDao extends BaseMapper<ResProBomRecord> {

    /**
     * 查询bom记录
     * @param pg
     * @param map
     * @return
     */
    List<ResProTaskRecordSearchVo> pageList4app(@Param("page") Page<ResProTaskRecordSearchVo> pg,@Param("map") Map<String, Object> map);
}
